package day240515.work;


import day240515.work.MyComparator;
import day240515.work.Teacher;

public class TeacherFirstLetterComparator implements MyComparator<Teacher> {

    @Override
    public int compare(Teacher o1, Teacher o2) {
        return Character.compare(o1.firstLetter, o2.firstLetter);
    }
}
